home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / boot / netBoot.new / h / led.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-19  |  3.3 KB  |  106 lines

  1.  
  2. /*    @(#)led.h 1.1 86/09/27 SMI    */
  3.  
  4. /*
  5.  * Copyright (c) 1986 by Sun Microsystems, Inc.
  6.  */
  7.  
  8. /*
  9.  * This file defines the values used in the Sun-2 LED's by the monitor.
  10.  *
  11.  * Unix might use other values, we don't define them here (yet?).
  12.  *
  13.  * It is desirable that these values match those used by Manufacturing's
  14.  * diagnostic PROMs.
  15.  *
  16.  * Values with the high-order bit set are defined in sign-extended form,
  17.  * so our assembler will assemble them into 'moveq' instructions.
  18.  */
  19.  
  20. #define    L_RESET        0xFFFFFFFF    
  21.                 /* **** **** Resets set LEDs to this
  22.                    PROM instructions are not being fetched. */
  23. #define    L_INITIAL    0x01    
  24.                 /* ---- ---* Initial state on power-up
  25.                    Local memory is not working.    */
  26. #define    L_GOTMEM    0x03    
  27.                 /* ---- --** After local mem verified 
  28.                    Assorted low-level failures? */
  29. #define    L_AFTERDIAG    0x07
  30.                 /* ---- -*** After diags, while setting up
  31.                    Bus problems seem to hang here. */
  32. #define    L_RUNNING    0x00    
  33.                 /* ---- ---- After reset processing in monitor()
  34.                    System seems to be running OK */
  35. #define    L_HEARTBEAT    0x20
  36.                 /* ---- *--- Blinks off and on while NMI ok
  37.                    System running OK, monitor taking NMI's */
  38. #define    L_USERDOG    0x02    
  39.                 /* ---- --*- Entering user watchdog routine
  40.                    User watchdog routine failed */
  41. #define    L_CONTEXT    0x11
  42.                 /* ---* ---* Testing context registers
  43.                    Context register(s) failing test */
  44. #define    L_SM_CONST    0x21
  45.                 /* --*- ---* Testing constant data in segmap
  46.                    Seg map data wires shorted or bits bad */
  47. #define    L_SM_DATA    0x23
  48.                 /* --*- --** Testing data lines in segmap
  49.                    Seg map data wires shorted */
  50. #define    L_SM_ADDR    0x22
  51.                 /* --*- --*- Testing addr-dependency in segmap
  52.                    Seg map addr lines shorted or miswired */
  53. #define    L_PM_CONST    0x31
  54.                 /* --** ---* Testing constant data in pgmap
  55.                    Page map data wires shorted or bad chips */
  56. #define    L_PM_DATA    0x33
  57.                 /* --** --** Testing data lines in pgmap
  58.                    Page map data wires shorted */
  59. #define    L_PM_ADDR    0x32
  60.                 /* --** --*- Testing addr-dependency in pgmap
  61.                    Page map addr lines shorted or miswired */
  62. #define L_PROM        0x40    
  63.                 /* -*-- ---- Testing PROM contents
  64.                    Prom decoding broken, pins bent, bad cksm */
  65. #define    L_UART        0x50    
  66.                 /* -*-* ---- Testing UART chip(s)
  67.                    Uart chip bad, or decoding bad */
  68. #define    L_M_MAP        0x70
  69.                 /* -*** ---- Sizing memory before const test
  70.                    No mem, or mem giving berr or wierdness */
  71. #define    L_M_CONST    0x71
  72.                 /* -*** ---* Testing constant data in memory
  73.                    */
  74. #define    L_M_ADDR    0x72
  75.                 /* -*** --*- Testing address-dependency in mem
  76.                    */
  77. #define    L_PARITY    0x7F
  78.                 /* -*** **** Testing parity circuitry
  79.                    Parity gen or checking messed up */
  80. #define    L_TIMER        0x81
  81.                 /* *--- ---* Testing timer chip
  82.                    Timer clk, bus, or interrupts not wkg */
  83.  
  84. #define    L_DES        0x82
  85.                 /* *--- --*- Testing DES chip
  86.                    DES chip failure */
  87.  
  88. #define L_SETUP_MEM    0xFFFFFFF1
  89.                 /* **** ---* Setting up memory after diags
  90.                    Memory failure that hangs CPU */
  91.  
  92. #define    L_SETUP_MAP    0xFFFFFFF2
  93.                 /* **** --*- Setting up maps after diags
  94.                    Map failure, pretty unlikely */
  95.  
  96. #define    L_SETUP_FB    0xFFFFFFF3
  97.                 /* **** --** Setting up frame buffer
  98.                    Frame buffer accesses hang */
  99.  
  100. #define    L_SETUP_KEYB    0xFFFFFFF4
  101.                 /* **** -*-- Setting up NMI or keyboard
  102.                    Timer chip or keyboard bad */
  103.  
  104. /* Please define and implement other values! */
  105.  
  106.